package org.jeecg.common.util.p000a;

/* renamed from: org.jeecg.common.util.a.a */
/* loaded from: hibernate-re-3.7.1-RC.jar:org/jeecg/common/util/a/a.class */
public class BaseColumn {

    /* renamed from: b */
    private String f0b;

    /* renamed from: c */
    private String f1c;

    /* renamed from: d */
    private Integer f2d;

    /* renamed from: a */
    protected String f3a;

    public void setTitle(String title) {
        this.f0b = title;
    }

    public void setField(String field) {
        this.f1c = field;
    }

    public void setOrder(Integer order) {
        this.f2d = order;
    }

    public void setDefVal(String defVal) {
        this.f3a = defVal;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof BaseColumn) {
            BaseColumn baseColumn = (BaseColumn) o;
            if (baseColumn.m587a(this)) {
                Integer order = getOrder();
                Integer order2 = baseColumn.getOrder();
                if (order == null) {
                    if (order2 != null) {
                        return false;
                    }
                } else if (!order.equals(order2)) {
                    return false;
                }
                String title = getTitle();
                String title2 = baseColumn.getTitle();
                if (title == null) {
                    if (title2 != null) {
                        return false;
                    }
                } else if (!title.equals(title2)) {
                    return false;
                }
                String field = getField();
                String field2 = baseColumn.getField();
                if (field == null) {
                    if (field2 != null) {
                        return false;
                    }
                } else if (!field.equals(field2)) {
                    return false;
                }
                String defVal = getDefVal();
                String defVal2 = baseColumn.getDefVal();
                return defVal == null ? defVal2 == null : defVal.equals(defVal2);
            }
            return false;
        }
        return false;
    }

    /* renamed from: a */
    protected boolean m587a(Object obj) {
        return obj instanceof BaseColumn;
    }

    public int hashCode() {
        Integer order = getOrder();
        int hashCode = (1 * 59) + (order == null ? 43 : order.hashCode());
        String title = getTitle();
        int hashCode2 = (hashCode * 59) + (title == null ? 43 : title.hashCode());
        String field = getField();
        int hashCode3 = (hashCode2 * 59) + (field == null ? 43 : field.hashCode());
        String defVal = getDefVal();
        return (hashCode3 * 59) + (defVal == null ? 43 : defVal.hashCode());
    }

    public String toString() {
        return "BaseColumn(title=" + getTitle() + ", field=" + getField() + ", order=" + getOrder() + ", defVal=" + getDefVal() + ")";
    }

    public String getTitle() {
        return this.f0b;
    }

    public String getField() {
        return this.f1c;
    }

    public Integer getOrder() {
        return this.f2d;
    }

    public String getDefVal() {
        return this.f3a;
    }

    public BaseColumn() {
    }

    public BaseColumn(String str, String str2, Integer num) {
        this.f0b = str;
        this.f1c = str2;
        this.f2d = num;
    }

    public BaseColumn(String str, String str2, Integer num, String str3) {
        this.f0b = str;
        this.f1c = str2;
        this.f2d = num;
        this.f3a = str3;
    }
}
